<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			var num1 = 123;
			var num2 = "123"
			console.log(num1 == num2);
			console.log(num1 === num2);
			var str1 = "你好世界";
			console.log(str1);
			var str2 = new String("加油");
			console.log(str2.length);
			var str3 = "Hello Js!"
			console.log(str3.toLowerCase());
			console.log(str3.toUpperCase());
			console.log(str3.charAt(1));
			console.log(str3.indexOf("llo"));
			//indexOf后面加数字，意味从第几位开始找这个字符串，没有返回-1
			console.log(str3.indexOf("llo",[2]));
			var str4 = "how are you doing today?";
			var array = str4.split(" ");
			console.log(array);
			console.log(array[1]);
		</script>
		
	</head>
	<body>
	</body>
</html>
